1 Abstract

2 Descriptive Statistics

2.1 Distance

2.2 Time

2.3 Velocity

2.4 Angles

3 Correlated random walk

Process Model

\[ d_{t} \sim T*d_{t-1} + Normal(0,\Sigma)\] \[ x_t = x_{t-1} + d_{t} \]

3.1 Parameters

For each individual:

\[\theta = \text{Mean turning angle}\] \[\gamma = \text{Move persistence} \]

For both behaviors process variance is: \[ \sigma_{latitude} = 0.1\] \[ \sigma_{longitude} = 0.1\]

3.2 Behavioral States

\[ \text{For each individual i}\] \[ Behavior_1 = \text{traveling}\] \[ Behavior_2 = \text{foraging}\]

\[ \alpha_{i,1,1} = \text{Probability of remaining traveling when traveling}\] \[\alpha_{i,2,1} = \text{Probability of switching from feeding to traveling}\]

\[\begin{matrix} \alpha_{i,1,1} & 1-\alpha_{i,1,1} \\ \alpha_{i,2,1} & 1-\alpha_{i,2,1} \\ \end{matrix} \]

3.3 Environment

Behavioral states are a function of local environmental conditions. The first environmental condition is ocean depth. I then build a function for preferential foraging in shallow waters.

It generally follows the form, conditional on behavior at t -1:

\[Behavior_t \sim Multinomial([\phi_{traveling},\phi_{foraging}])\] \[logit(\phi_{traveling}) = \alpha_{Behavior_{t-1}} + \beta_1 * Ocean_{y[t,]}\] \[logit(\phi_{foraging}) = \alpha_{Behavior_{t-1}} + \beta_2 * Ocean_{y[t,]}\]

3.4 Continious tracks

The transmitter will often go dark for 10 to 12 hours, due to weather, right in the middle of an otherwise good track. The model requires regular intervals to estimate the turning angles and temporal autocorrelation. As a track hits one of these walls, call it the end of a track, and begin a new track once the weather improves. We can remove any micro-tracks that are less than three days. Specify a duration, calculate the number of tracks and the number of removed points. Iteratively.

How did the filter change the extent of tracks?

##     user   system  elapsed 
##   15.626    0.446 8888.338

3.5 Chains

3.5.1 Compare to priors

3.6 Prediction - environmental function

4 Behavioral Prediction

4.1 Spatial Prediction

4.1.1 Per Animal

## $`1`

## 
## $`2`

## 
## $`3`

## 
## $`4`

## 
## $`5`

## 
## $`6`

## 
## $`7`

## 
## $`8`

## 
## $`9`

4.2 Log Odds of Feeding

4.3 Autocorrelation in behavior

4.4 Behavioral description

4.5 Predicted behavior duration

4.6 Location of Behavior

Global Plotting

4.6.1 Proportional Hazards

Survival analysis typically examines the relationship between time to death as a function of covariates. From this we can get the instantaneous rate of death at time t f(t), which is the cumulative distribution of the likelihood of death.

Let T represent survival time.

\[ P(t) = Pr(T<t)\] with a pdf \[p(t) = \frac{dP(t)}{dt}\]

The instantaneous risk of death at time t (h(t)), conditional on survival to that time:

\[ h(t) = \lim{\Delta_t\to 0} \frac{Pr[(t<T<t + \Delta_t)]|T>t}{\Delta t}\]

with covariates: \[log (h_i(t)) = \alpha + \beta_i *x\]

The cox model has no intercept, making it semi-parametric \[ log(h_i(t)) = h_0(t) + \beta_1 * x\]

##             used   (Mb) gc trigger   (Mb)   max used   (Mb)
## Ncells   1707181   91.2    4677176  249.8   34847686 1861.1
## Vcells 224631324 1713.9 1023680532 7810.1 1279093690 9758.8